package com.tansty.pojo.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author Tansty
 * @since 2021-08-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("pet")
@ApiModel(value="Pet对象", description="")
public class Pet implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "宠物类别")
    private Integer categoryId;

    @ApiModelProperty(value = "宠物名字")
    private String name;

    @ApiModelProperty(value = "宠物照片")
    private String photoUrls;

    @ApiModelProperty(value = "标签备注")
    private String tags;

    @ApiModelProperty(value = "宠物状态")
    private String status;

    @ApiModelProperty(value = "是否卖出")
    private Integer isBuy;

}
